package com.exp.bookhouse.pojo.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

@ApiModel("库存VO")
public class StockVo implements Serializable {

    @ApiModelProperty(value = "书籍id")
    private Long bookId;    //书本id

    @ApiModelProperty(value = "书籍库存量")
    private Integer stock;  //库存

    public StockVo() {
    }

    public Long getBookId() {
        return bookId;
    }

    public void setBookId(Long bookId) {
        this.bookId = bookId;
    }

    public Integer getStock() {
        return stock;
    }

    public void setStock(Integer stock) {
        this.stock = stock;
    }

    @Override
    public String toString() {
        return "StockVo{" +
                "bookId=" + bookId +
                ", stock=" + stock +
                '}';
    }
}
